from tt.queries import Query
from tt.scenarios import *

import logging

url = "http://139.198.183.68:32677"
q = Query(url)
if not q.login():
    logging.fatal('login failed')


if __name__ == '__main__':

    print("start")
    # query_and_cancel(q)
    # query_and_collect(q)

    query_and_consign(q) # 有问题

    # query_and_execute(q)
    # query_and_rebook(q)
    # query_and_pay(q)
    # query_and_preserve(q)
    print("over")

